package com.healthcloud.entity;

import java.util.ArrayList;

import org.joda.time.DateTime;

import com.healthcloud.constants.StringConsts;

/**
 * Created by XYC on 2015/7/15.
 */
public class AllergicHistory extends BaseEntityTimeChange {
    public ArrayList<AllergicHistory> allList = new ArrayList<>();
    private String idCard = StringConsts.EMPTY;//身份证信息
    private Integer allergic;//过敏史种类
    private Integer allergen;//过敏原
    private DateTime onSetTime;//发病时间
    private String diseaseCause;//发病原因
    private String treatmentDescription;//治疗描述
    private String onSetTimeOfString;//发病时间String类型
    private String allergicName;
    private String allergenName;

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Integer getAllergic() {
        return allergic;
    }

    public void setAllergic(Integer allergic) {
        this.allergic = allergic;
    }

    public Integer getAllergen() {
        return allergen;
    }

    public void setAllergen(Integer allergen) {
        this.allergen = allergen;
    }

    public DateTime getOnSetTime() {
        return onSetTime;
    }

    public void setOnSetTime(DateTime onSetTime) {
        this.onSetTime = onSetTime;
    }

    public String getDiseaseCause() {
        return diseaseCause;
    }

    public void setDiseaseCause(String diseaseCause) {
        this.diseaseCause = diseaseCause;
    }

    public String getTreatmentDescription() {
        return treatmentDescription;
    }

    public void setTreatmentDescription(String treatmentDescription) {
        this.treatmentDescription = treatmentDescription;
    }

    public String getOnSetTimeOfString() {
        return onSetTimeOfString;
    }

    public void setOnSetTimeOfString(String onSetTimeOfString) {
        this.onSetTimeOfString = onSetTimeOfString;
    }

    public ArrayList<AllergicHistory> getAllList() {
        return allList;
    }

    public void setAllList(ArrayList<AllergicHistory> allList) {
        this.allList = allList;
    }

    public String getAllergicName() {
        return allergicName;
    }

    public void setAllergicName(String allergicName) {
        this.allergicName = allergicName;
    }

    public String getAllergenName() {
        return allergenName;
    }

    public void setAllergenName(String allergenName) {
        this.allergenName = allergenName;
    }
}
